// JavaScript Document
Ext.onReady(function() {
/*	var fileGridPanel=new FileGridPanel({});
	var sidePanel=new SidePanel();
	var headPanel=new HeadPanel();
	*/
	var viewport=new Ext.Viewport({
		layout : 'border',
		id:'viewport',
		items : [ {
			region : 'north',
			id:'head',
			items:new HeadPanel(),
			height : 50,
			border : false
		}, {
			region : 'west',
			width : 200,
			 autoScroll: true, //自动出现滚动条
			// collapsible: true, //设置面板是否可收缩
			items : new SidePanel()
		// split: true, //

		}, {
			region : 'center',
			id :'center',
			xtype : 'container',
			autoScroll:true,
			items :[
			    new mypanel({
			    //	width:1162,
				height:585,
				url:'getFiles'
				}),
				new mypanel2({
					//	width:1162,
						height:585,
						url:'getFiles'
						}),
				]
		}
		/*
		  , { region: 'south', // title: 'Information',
		  height:50,
		  html: 'Information goes here', split: true, minHeight:
		  50 }
		 */
		]
	});
	Ext.getCmp("gridPanel").show();
	Ext.getCmp("gridPanel2").hide();
	
	fixCss();
});